/**
 * 首页路由 
 * 
 */
import { HOME_PAGE_PATH, HOME_PAGE_NAME } from '@/constants/system/home-const';
import Layout from '@/layout/layout.vue';

export const homeRouters = [
    {
        path:'/',
        name:'_home',
        redirect: { name: HOME_PAGE_NAME },
        component: Layout,
        meta: {
            title:'首页'
        },
        children: [
            {
                path: HOME_PAGE_PATH,
                name: HOME_PAGE_NAME,
                component: () => import('@/views/system/home/home.vue'),
                meta: {
                    title: '首页',
                },
            },
        ]
    }
]